
/**
 * Write a description of class Node here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
package jccflux;
public class Node
{
    private Node next;
    private Object item;
    
    public Node()
    {
        this("");
    }
    
    public Node(Object item)
    {
        this.item = item;
    }
    
    public void setItem(Object item)
    {
        this.item = item;
    }
    
    public Object getItem()
    {
        return item;
    }
    
    public Node getNext()
    {
        return next;
    }
    
    public void setNext(Node node)
    {
        next = node;
    }
}
